public class FileLog : ILog
{
    NLog.Logger log = NLog.LogManager.GetCurrentClassLogger();
    public void Trace(string message)
    {
        log.Trace(message);
    }

    public void Trace(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        log.Trace(logMessage);
    }

    public void Debug(string message)
    {
        log.Debug(message);
    }

    public void Debug(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        log.Debug(logMessage);
    }

    public void Warn(string message)
    {
        log.Warn(message);
    }

    public void Warn(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        log.Warn(logMessage);
    }

    public void Error(string message)
    {
        log.Error(message);
    }

    public void Error(string message, params object[] args)
    {
        var logMessage = string.Format(message, args);
        log.Error(logMessage);
    }
}